home *** CD-ROM | disk | FTP | other *** search
/ Freaks Macintosh Archive / Freaks Macintosh Archive.bin / Freaks Macintosh Archives / Textfiles / cracking / BeginnersMacAssembly.sit.hqx / BeginnersMacAssembly.rsrc / PICT_37.png < prev    next >
Portable Network Graphic  |  1997-07-26  |  117KB  |  816x1056  |  8-bit (256 colors)
Labels: book | bulletin board | earth | poster | reckoner | sidewalk | sky | windowpane
OCR: Sat Feb 17 1996 Beginners Guide Macintosh Assembly Language Programming age And, Or and Exclusive Or Logical operations are very simple. An and" operation simply says both A and B are equal to a logical then set the result. ogical operations work at a bit level, that is, for you to decide what the outcome of a logical operation will be you have to understand the data Suppose we "and" and with the instruction ANDI W#1 op' and op contained If we look at the number in binary is 0001 and 1 1001. When these two numbers are anded. the processor looks at the numbers like this: 3210 Bit number 0001 in binary 1001 in binary First will look at both bit 3's. It says I have a 1 and a0 so I don't have two 1's. Therefore the result is zero Then it looks at bit 2's, which are both zero so the result is z ...